#pragma once

#include "Geometry.h"
#include <string>
#include <fstream>

namespace soft_renderer
{
    class STLLoader
    {
    private:
        Geometry& _geom;

        static bool pattern_check(const char* str, int s, const char* pattern, int len);

    public:
        STLLoader(Geometry& geom);

        void load(std::string filename);
    };
}
